github.com/hyperion-hyn/go-ethereum@v2.4.0+incompatible/docs/Privacy/Tessera/Configuration/Tessera v0.8 sample settings.md (about) 1 **Changes:** 2 - added modular server configurations 3 4 --- 5 6 **Sample** 7 8 ```json 9 { 10 "useWhiteList": "boolean", 11 12 "jdbc": { 13 "url": "String", 14 "username": "String", 15 "password": "String" 16 }, 17 18 "serverConfigs": [ 19 { 20 "app": "ThirdParty", 21 "enabled": true, 22 "serverSocket": { 23 "type": "INET", 24 "port": 9081, 25 "hostName": "http://localhost" 26 }, 27 "bindingAddress": "String - url with port e.g. http://127.0.0.1:9081", 28 "communicationType": "REST" 29 }, 30 31 { 32 "app": "Q2T", 33 "enabled": true, 34 "serverSocket": { 35 "type": "UNIX", 36 "path": "/tmp/tm.ipc" 37 }, 38 "communicationType": "UNIX_SOCKET" 39 }, 40 41 { 42 "app": "P2P", 43 "enabled": true, 44 "serverSocket": { 45 "type": "INET", 46 "port": 9001, 47 "hostName": "http://localhost" 48 }, 49 "bindingAddress": "String - url with port e.g. http://127.0.0.1:9001", 50 "sslConfig": { 51 "tls": "enum STRICT,OFF", 52 "generateKeyStoreIfNotExisted": "boolean", 53 "serverKeyStore": "Path", 54 "serverTlsKeyPath": "Path", 55 "serverTlsCertificatePath": "Path", 56 "serverKeyStorePassword": "String", 57 "serverTrustStore": "Path", 58 "serverTrustCertificates": [ 59 "Path..." 60 ], 61 "serverTrustStorePassword": "String", 62 "serverTrustMode": "Enumeration: CA, TOFU, WHITELIST, CA_OR_TOFU, NONE", 63 "clientKeyStore": "Path", 64 "clientTlsKeyPath": "Path", 65 "clientTlsCertificatePath": "Path", 66 "clientKeyStorePassword": "String", 67 "clientTrustStore": "Path", 68 "clientTrustCertificates": [ 69 "Path..." 70 ], 71 "clientTrustStorePassword": "String", 72 "clientTrustMode": "Enumeration: CA, TOFU, WHITELIST, CA_OR_TOFU, NONE", 73 "knownClientsFile": "Path", 74 "knownServersFile": "Path" 75 }, 76 "communicationType": "REST" 77 } 78 ], 79 80 "peer": [ 81 { 82 "url": "url e.g. http://127.0.0.1:9000/" 83 } 84 ], 85 86 "keys": { 87 "passwords": [ 88 "String..." 89 ], 90 "passwordFile": "Path", 91 "azureKeyVaultConfig": { 92 "url": "Azure Key Vault url" 93 }, 94 "hashicorpKeyVaultConfig": { 95 "url": "Hashicorp Vault url", 96 "approlePath": "String (defaults to 'approle' if not set)", 97 "tlsKeyStorePath": "Path to jks key store", 98 "tlsTrustStorePath": "Path to jks trust store" 99 }, 100 101 "keyData": [ 102 { 103 "config": { 104 "data": { 105 "aopts": { 106 "variant": "Enum : id,d or i", 107 "memory": "int", 108 "iterations": "int", 109 "parallelism": "int" 110 }, 111 "bytes": "String", 112 "snonce": "String", 113 "asalt": "String", 114 "sbox": "String", 115 "password": "String" 116 }, 117 "type": "Enum: argon2sbox or unlocked. If unlocked is defined then config data is required. " 118 }, 119 "privateKey": "String", 120 "privateKeyPath": "Path", 121 "azureVaultPrivateKeyId": "String", 122 "azureVaultPrivateKeyVersion": "String", 123 "publicKey": "String", 124 "publicKeyPath": "Path", 125 "azureVaultPublicKeyId": "String", 126 "azureVaultPublicKeyVersion": "String", 127 "hashicorpVaultSecretEngineName": "String", 128 "hashicorpVaultSecretName": "String", 129 "hashicorpVaultSecretVersion": "Integer (defaults to 0 (latest) if not set)", 130 "hashicorpVaultPrivateKeyId": "String", 131 "hashicorpVaultPublicKeyId": "String" 132 } 133 ] 134 }, 135 136 "alwaysSendTo": [ 137 "String..." 138 ], 139 140 "unixSocketFile": "Path" 141 } 142 ```